function [Controller_frd] = tf2frd(Controller, freq, fs)

Controller_frd = frd(Controller, freq, 'rad/s');
response = frdata(Controller_frd);
Controller_frd = frd(response, freq,1/fs);